#!/bin/bash
BASE_PATH=$(cd `dirname $0`; pwd)
cd $BASE_PATH
source /root/.bashrc

# 开启队列
php artisan queue:work --daemon --quiet --queue=default --delay=3 --sleep=3 --tries=3 &
# 启动swoole
php artisan swoole:http start
